package com.campus.backend.bean.canteen;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 创建食堂Bean
 *
 * @author campus
 * @since 2024-01-01
 */
@Data
@ApiModel(value = "创建食堂Bean", description = "创建食堂Bean")
public class CreateCanteenBean {

    @ApiModelProperty(value = "食堂名称", required = true)
    @NotBlank(message = "食堂名称不能为空")
    private String name;

    @ApiModelProperty(value = "楼层", required = true)
    @NotBlank(message = "楼层不能为空")
    private String floor;

    @ApiModelProperty(value = "食堂图片", required = true)
    @NotBlank(message = "食堂图片不能为空")
    private String image;

    @ApiModelProperty(value = "食堂描述")
    private String description;

    @ApiModelProperty(value = "状态")
    private Integer status;
}